<template>
  <div>
    login
    <h1 class="text-2xl font-bold">Login</h1>
    <input v-model="user.username" />
    <input v-model="user.password" />
    <button @click="login">login</button>
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue"

const user = ref({
  username: "",
  password: "",
})

const login = () => {
  console.log(user.value)
}
</script>

<style scoped></style>
